# Start of the makefile
# Defining variables
target = testelliptic.f95
objects =  constants.o dispmodule.o elliptic.o
f90comp = gfortran
switch = 
# Makefile
testelliptic: $(objects) $(target)
	$(f90comp) -o testelliptic.bin $(switch) $(objects) $(target)
%.o: %.f95
	$(f90comp) -c $(switch) $<
# Cleaning everything
clean:
	rm -f *.mod 
	rm -f $(objects)
# End of the makefile
